package com.milestone.fitnesspersonaltrainer.repository.api;


import com.milestone.fitnesspersonaltrainer.model.CategoryModel;
import com.milestone.fitnesspersonaltrainer.model.HomeModel;
import com.milestone.fitnesspersonaltrainer.network.response.RxVoid;

import java.util.ArrayList;

import io.reactivex.Flowable;

/**
 * Created by ThinkPad on 2017/11/2.
 */

public interface WallpaperRepo {

    Flowable<ArrayList<HomeModel>> getGallery();

    Flowable<ArrayList<HomeModel>> getHome(int pageIndex, int pageCount, int categoryLimit);

    Flowable<ArrayList<CategoryModel>> getCategory();

    Flowable<ArrayList<HomeModel>> getPicByCateory(int pageIndex, int pageCount, String category);

    Flowable<ArrayList<HomeModel>> getPicBySearch(int pageCount, String keyWords);

    Flowable<RxVoid> addLike(String url);
}
